package controllers.bluehat;

import java.util.List;

import models.InformationUnit;
import models.UploadFile;

public class InformationUnitController extends BlueHatBaseController {
	public static void detail(Long id) {
		// TODO validate this
		InformationUnit unit = InformationUnit.findById(id);
		List<UploadFile> files = unit.files.fetch();
		render(unit);
	}
}
